//
//  LGScrollView.m
//  haoshuimiandoctor
//
//  Created by LZH on 2019/3/22.
//  Copyright © 2019 langgan. All rights reserved.
//

#import "LGScrollView.h"
#import "LGMedicineBallPatientCell.h"


@implementation LGScrollView

- (instancetype)init{
    self = [super init];
    if (self) {
        
    }
    return self;
}

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        
    }
    return self;
}

-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [self.superview touchesBegan:touches withEvent:event];
    LGMedicineBallPatientCell *cell = (LGMedicineBallPatientCell *)self.superview.superview.superview;
    [cell touchesBegan:touches withEvent:event];
}

-(void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [self.superview touchesBegan:touches withEvent:event];
    LGMedicineBallPatientCell *cell = (LGMedicineBallPatientCell *)self.superview.superview.superview;
    [cell touchesEnded:touches withEvent:event];
}


@end
